package cn.buk.api.ctrip.dto.share;

import javax.xml.bind.annotation.*;

/**
 * Created by yfdai on 16/1/5.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LowPriceInfo")
public class IntlLowPriceInfo {

    /**
     * 行程类型（OW ； RT）
     */
    @XmlAttribute(name = "TripType", required = true)
    private String tripType = "OW";

    /**
     * 出发城市（标准城市三字码）
     */
    @XmlAttribute(name = "DepartCity", required = true)
    private String departCity;

    /**
     * 到达城市（标准城市三字码）
     */
    @XmlAttribute(name = "ArriveCity", required = true)
    private String arriveCity;

    /**
     * 航司（航空公司二字码）
     */
    @XmlAttribute(name = "Owner")
    private String owner = "";

    /**
     * 舱等（超级经济舱:W； 经济舱:Y；   公务舱:C；   头等舱:F  请输入字母）
     */
    @XmlAttribute(name = "SeatGrade", required = true)
    private String seatGrade;

    /**
     * 去程日期（日期格式：2015-03-08）
     */
    @XmlAttribute(name = "OutboundTravelDate", required = true)
    private String outboundTravelDate;

    /**
     * 回程日期格式（2015-03-10）（单程时填空）
     */
    @XmlAttribute(name = "InboundTravelDate")
    private String inboundTravelDate = "";

    /**
     * 产品类型（私有运价:PriFare；  公布佣金政策:PubFare； 全部:ALL 请输入字母）
     */
    @XmlAttribute(name = "ProductType", required = true)
    private String productType = "ALL";

    /**
     * 乘客人数（选择数字1-9）
     */
    @XmlAttribute(name = "PassengerNum", required = true)
    private int passengerNum = 1;

    /**
     * 旅客资质（普通成人:ADT，留学生:STU，劳工:LAB，移民:EMI，海员:SEA 请输入字母）
     */
    @XmlAttribute(name = "PassengerEligibility", required = true)
    private String passengerEligibility = "ADT";

    /**
     * 是否含税（不含税:0，含税:1  请输入数字）
     */
    @XmlAttribute(name = "IsHasTax", required = true)
    private String isHasTax = "0";

    /**
     * 排序方式（外放最低总价: 0  行程: 1  请输入数字）
     */
    @XmlAttribute(name = "LowPriceSort", required = true)
    private String lowPriceSort = "1";

    public String getTripType() {
        return tripType;
    }

    public void setTripType(String tripType) {
        this.tripType = tripType;
    }

    public String getDepartCity() {
        return departCity;
    }

    public void setDepartCity(String departCity) {
        this.departCity = departCity;
    }

    public String getArriveCity() {
        return arriveCity;
    }

    public void setArriveCity(String arriveCity) {
        this.arriveCity = arriveCity;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getSeatGrade() {
        return seatGrade;
    }

    public void setSeatGrade(String seatGrade) {
        this.seatGrade = seatGrade;
    }

    public String getOutboundTravelDate() {
        return outboundTravelDate;
    }

    public void setOutboundTravelDate(String outboundTravelDate) {
        this.outboundTravelDate = outboundTravelDate;
    }

    public String getInboundTravelDate() {
        return inboundTravelDate;
    }

    public void setInboundTravelDate(String inboundTravelDate) {
        this.inboundTravelDate = inboundTravelDate;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public int getPassengerNum() {
        return passengerNum;
    }

    public void setPassengerNum(int passengerNum) {
        this.passengerNum = passengerNum;
    }

    public String getPassengerEligibility() {
        return passengerEligibility;
    }

    public void setPassengerEligibility(String passengerEligibility) {
        this.passengerEligibility = passengerEligibility;
    }

    public String getIsHasTax() {
        return isHasTax;
    }

    public void setIsHasTax(String isHasTax) {
        this.isHasTax = isHasTax;
    }

    public String getLowPriceSort() {
        return lowPriceSort;
    }

    public void setLowPriceSort(String lowPriceSort) {
        this.lowPriceSort = lowPriceSort;
    }

    //    <LowPriceInfo TripType="OW" DepartCity="SHA" ArriveCity="NYC" Owner="" SeatGrade="Y"
    // OutboundTravelDate="2016-01-01" InboundTravelDate="" ProductType="ALL" PassengerNum="1" PassengerEligibility="ADT"
    // IsHasTax="0" LowPriceSort="0" />

    //    <LowPriceInfo TripType="RT" DepartCity="SHA" ArriveCity="NYC" Owner="" SeatGrade="Y"
    // OutboundTravelDate="2016-01-01" InboundTravelDate="2016-01-03" ProductType="ALL" PassengerNum="1" PassengerEligibility="ADT"
    // IsHasTax="1" LowPriceSort="1" />

}
